<template>
  <div class="drawer-title">
    <h3>抽屉</h3>
    <!-- 图标 -->
    <IconConfigProvider class="more" color="#000" size="16">
      <Icon>
        <MoreHorizSharp />
      </Icon>
    </IconConfigProvider>
  </div>
</template>

<script>
import { MoreHorizSharp } from "@v2icons/material"
import { Icon, IconConfigProvider } from "@v2icons/utils"

export default {
  name: "DrawerTop",
  components: {
    MoreHorizSharp,
    Icon,
    IconConfigProvider
  }
}
</script>

<style scoped>
.drawer-title {
  position: relative;
  padding: 5px;
  height: 20px;
  text-align: center;
  color: #000;
  border-bottom: 1px solid silver;
}
.drawer-title .more {
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
